package cn.migu.music.hangupsms.constants;

import org.apache.commons.lang3.StringUtils;

public enum EProvinceName {
    CHONGQING("CQ", "重庆", "14");

    private final String shortName;
    private final String name;
    private final String localId;

    EProvinceName(String shortName, String name, String localId) {
        this.shortName = shortName;
        this.name = name;
        this.localId = localId;
    }

    public String getLocalId() {
        return localId;
    }

    public String getShortName() {
        return shortName;
    }

    public static EProvinceName valueOfLocalId(String localId) {
        EProvinceName[] var1 = values();
        int var2 = var1.length;

        for (int var3 = 0; var3 < var2; ++var3) {
            EProvinceName eProvinceName = var1[var3];
            if (StringUtils.equals(eProvinceName.getLocalId(), localId)) {
                return eProvinceName;
            }
        }

        return null;
    }
}
